package cn.cs.mapper;
import cn.cs.pojo.CsTrade;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CsTradeMapper {

	public CsTrade getCsTradeById(@Param(value = "id") Long id)throws Exception;

	public List<CsTrade>	getCsTradeListByMap(Map<String, Object> param)throws Exception;

	public Integer getCsTradeCountByMap(Map<String, Object> param)throws Exception;

	public Integer insertCsTrade(CsTrade csTrade)throws Exception;

	public Integer updateCsTrade(CsTrade csTrade)throws Exception;

	public Integer deleteCsTradeById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteCsTrade(Map<String, List<String>> params);

}
